LGF_BinaryToGray (FC / 3.0.1)

Overview

Author: Siemens Digital Industry

Short description

This function converts a binary coded value into a Gray-coded value.

Block Interface

LGF_BinaryToGray (FC)
DWord  variableBinary Ret_Val  DWord
    
   

Input parameter

IdentifierData type Description
variableBinaryDWord Binary coded value to convert to Gray code

Output parameter

IdentifierData type Description
Ret_ValDWord Gray-coded value

Change log

Version & DateChange description
1.0.0Siemens Industry Online Support
19.08.2015First released version
1.0.1Siemens Industry Online Support
28.10.2015Name changed
1.0.2Siemens Industry Online Support
02.01.2017Upgrade: TIA Portal V14 Update 1
1.0.3Siemens Industry Online Support
17.08.2018Upgrade: TIA V15 Update 2
1.0.4Siemens Industry Online Support
23.11.2018Upgrade: TIA V15.1
1.0.5Simatic Systems Support
11.06.2019Standard header and block parameters update
Add ENO handling
3.0.0Simatic Systems Support
23.04.2020Set version to V3.0.0
Harmonize the version of the whole library
3.0.1Simatic Systems Support
23.02.2021Insert documentation